import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'virtual:uno.css'
import { setupVab } from '~/library'
import App from './App.vue'
import { setupMyComponents } from '/@/components'
import { setupI18n } from '/@/i18n'
import { setupRouter } from '/@/router'
import { setupStore } from '/@/store'

const app = createApp(App)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
setupVab(app)
setupI18n(app)
setupStore(app)
setupRouter(app)
setupMyComponents(app)

app.mount('#app')
